You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: msgpack-core/src/main/java/org/msgpack/core/buffer/MessageBuffer.java
+15-25Lines changed: 15 additions & 25 deletions
Original file line number
Diff line number
Diff line change
@@ -198,7 +198,7 @@ public static MessageBuffer allocate(int size)
198
198
}
199
199
200
200
/**
201
-
* Wraps a ByteBuffer into a MessageBuffer.
201
+
* Wraps a byte array into a MessageBuffer.
202
202
*
203
203
* The new MessageBuffer will be backed by the given byte array. Modifications to the new MessageBuffer will cause the byte array to be modified and vice versa.
204
204
*
@@ -214,7 +214,7 @@ public static MessageBuffer wrap(byte[] array)
214
214
}
215
215
216
216
/**
217
-
* Wraps a ByteBuffer into a MessageBuffer.
217
+
* Wraps a byte array into a MessageBuffer.
218
218
*
219
219
* The new MessageBuffer will be backed by the given byte array. Modifications to the new MessageBuffer will cause the byte array to be modified and vice versa.
220
220
*
@@ -264,28 +264,7 @@ public static MessageBuffer wrap(ByteBuffer bb)
0 commit comments