Android Question Asyncstream - Max Length of Buffer in Prefix Mode?

Discussion in 'Android Questions' started by rgarnett1955, Nov 11, 2019 at 2:10 AM.

  1. rgarnett1955

    rgarnett1955 Member Licensed User

    Hi Erel,

    How many bytes will AsyncStream in prefix mode (not serializer) handle for the default system.

    I saw that for B4r you can increase the size by using:

    Code:
    #StackBufferSize: 2000
    https://www.b4x.com/android/forum/threads/asyncstreams-prefix-mode.76645/#content

    However the Stack Buffer Size attribute throws an error in B4a.

    I would like a buffer of 1024 + 4.

    Is this possible and if so, how do I do this?

    Best regards

    Rob
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    B4XSerializator is not related.

    The maximum message size is 100mb.
     
  3. rgarnett1955

    rgarnett1955 Member Licensed User

    Hi Erel,

    I don't want to be a smarty pants, but is this milli Bytes or mega (big M).

    Only joking. I think I should be able to shoe-horn my little bit of data into 100 Mbytes without too many problems.

    Thanks for that

    Best regards

    Rob
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice