File tree Expand file tree Collapse file tree
src/main/java/com/cryptlex/lexfloatclient Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -354,13 +354,13 @@ public static String GetFloatingClientMetadata(String key) throws LexFloatClient
354354 int status ;
355355 if (Platform .isWindows ()) {
356356 CharBuffer buffer = CharBuffer .allocate (4096 );
357- status = LexFloatClientNative .GetFloatingClientMetadata (new WString (key ), buffer , 256 );
357+ status = LexFloatClientNative .GetFloatingClientMetadata (new WString (key ), buffer , 4096 );
358358 if (LF_OK == status ) {
359359 return buffer .toString ().trim ();
360360 }
361361 } else {
362362 ByteBuffer buffer = ByteBuffer .allocate (4096 );
363- status = LexFloatClientNative .GetFloatingClientMetadata (key , buffer , 256 );
363+ status = LexFloatClientNative .GetFloatingClientMetadata (key , buffer , 4096 );
364364 if (LF_OK == status ) {
365365 return new String (buffer .array (), "UTF-8" );
366366 }
You can’t perform that action at this time.
0 commit comments