- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 342 for getBytes (0.12 seconds)
-
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
void writeChars(String s); @Override void writeUTF(String s); /** * @deprecated This method is dangerous as it discards the high byte of every character. For * UTF-8, use {@code write(s.getBytes(StandardCharsets.UTF_8))}. */ @Deprecated @Override void writeBytes(String s); /** Returns the contents that have been written to this instance, as a byte array. */ byte[] toByteArray();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 27 20:25:25 GMT 2024 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestCharSink.java
private final TestByteSink byteSink; public TestCharSink(TestOption... options) { this.byteSink = new TestByteSink(options); } public String getString() { return new String(byteSink.getBytes(), UTF_8); } @Override public boolean wasStreamOpened() { return byteSink.wasStreamOpened(); } @Override public boolean wasStreamClosed() { return byteSink.wasStreamClosed(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/TestCharSink.java
private final TestByteSink byteSink; public TestCharSink(TestOption... options) { this.byteSink = new TestByteSink(options); } public String getString() { return new String(byteSink.getBytes(), UTF_8); } @Override public boolean wasStreamOpened() { return byteSink.wasStreamOpened(); } @Override public boolean wasStreamClosed() { return byteSink.wasStreamClosed(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralRequestBuffer.java
public int encode(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(this.maxReferralLevel, dst, dstIndex); dstIndex += 2; final byte[] pathBytes = this.path.getBytes(StandardCharsets.UTF_16LE); System.arraycopy(pathBytes, 0, dst, dstIndex, pathBytes.length); dstIndex += pathBytes.length; SMBUtil.writeInt2(0, dst, dstIndex); dstIndex += 2; // null terminator
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/UpdateShasTask.java
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
/** * Context name for lease response */ public static final String CONTEXT_NAME = "RqLs"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); private Smb2LeaseKey leaseKey; private int leaseState; private int leaseFlags; /** * Create a new lease V1 context response */ public LeaseV1CreateContextResponse() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NetShareEnum.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 2.7K bytes - Click Count (0) -
src/main/java/org/codelibs/core/security/MessageDigestUtil.java
if (text == null) { return null; } final MessageDigest msgDigest = getInstance(algorithm); try { msgDigest.update(text.getBytes("UTF-8")); } catch (final UnsupportedEncodingException e) { throw new ClIllegalStateException(e); } final byte[] digest = msgDigest.digest();Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
/** * Context name for durable handle response */ public static final String CONTEXT_NAME = "DHnQ"; private static final byte[] CONTEXT_NAME_BYTES = CONTEXT_NAME.getBytes(); // The response structure is reserved and must be zero (8 bytes) private byte[] reserved = new byte[8]; /** * Create a new durable handle response */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0)