Searched refs:asByteArrayUnsafe (Results 1 – 8 of 8) sorted by relevance
26 byte[] output = SdkBytes.fromByteArray(input).asByteArrayUnsafe(); in fromByteArrayCreatesCopy()44 byte[] output = SdkBytes.fromByteArrayUnsafe(input).asByteArrayUnsafe(); in fromByteArrayUnsafeAndAsByteArrayUnsafeDoNotCopy()
27 byte[] output = ResponseBytes.fromByteArray(OBJECT, input).asByteArrayUnsafe(); in fromByteArrayCreatesCopy()45 byte[] output = ResponseBytes.fromByteArrayUnsafe(OBJECT, input).asByteArrayUnsafe(); in fromByteArrayUnsafeAndAsByteArrayUnsafeDoNotCopy()
79 public final byte[] asByteArrayUnsafe() { in asByteArrayUnsafe() method in BytesWrapper
115 .add("bytes", asByteArrayUnsafe()) in toString()
82 .add("bytes", asByteArrayUnsafe()) in toString()
93 …assertThat(computeCheckSum(copiedObject.asByteArrayUnsafe())).isEqualTo(computeCheckSum(originalCo… in validateCopiedObject()
243 return ResumableFileDownloadSerializer.fromJson(bytes.asByteArrayUnsafe()); in fromBytes()
235 return ResumableFileUploadSerializer.fromJson(bytes.asByteArrayUnsafe()); in fromBytes()