- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for writeBytes (0.98 sec)
-
android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java
} @Override public void writeByte(int v) throws IOException { ((DataOutputStream) out).writeByte(v); } /** * @deprecated The semantics of {@code writeBytes(String s)} are considered dangerous. Please use * {@link #writeUTF(String s)}, {@link #writeChars(String s)} or another write method instead. */ @Deprecated @Override public void writeBytes(String s) throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteArrayDataOutput.java
/** * @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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteArrayDataOutput.java
/** * @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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "abc=>123\nxyz,890".getBytes(Constants.UTF_8)); } @Override public void tearDown() throws Exception { super.tearDown(); FileUtils.deleteDirectory(testDir); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java
// TODO /* private File file1; @Override public void setUp() throws Exception { super.setUp(); file1 = File.createTempFile("synonym", ".txt"); FileUtil.writeBytes(file1.getAbsolutePath(), "a1=>A1\nb1,b2 => B1\nc1 => C1, C2\nx1,X1\ny1, Y1, y2" .getBytes(Constants.UTF_8)); // TODO set up opensearch and dictionaryManager
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 8.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt
val dataSize = messageBuffer.size sinkBuffer.writeByte(b0) var b1 = 0 if (isClient) { b1 = b1 or B1_FLAG_MASK } when { dataSize <= PAYLOAD_BYTE_MAX -> { b1 = b1 or dataSize.toInt() sinkBuffer.writeByte(b1) } dataSize <= PAYLOAD_SHORT_MAX -> { b1 = b1 or PAYLOAD_SHORT sinkBuffer.writeByte(b1) sinkBuffer.writeShort(dataSize.toInt())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt
val byte0 = tagClass or constructedBit or tag.toInt() sink.writeByte(byte0) } else { val byte0 = tagClass or constructedBit or 0b0001_1111 sink.writeByte(byte0) writeVariableLengthLong(tag) } // Write the length. This takes 1 byte if length is less than 128. val length = content.size if (length < 128) { sink.writeByte(length.toInt()) } else {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt
} while (!encodedCharBuffer.exhausted()) { val b = encodedCharBuffer.readByte().toInt() and 0xff writeByte('%'.code) writeByte(HEX_DIGITS[b shr 4 and 0xf].code) writeByte(HEX_DIGITS[b and 0xf].code) } } else { // This character doesn't need encoding. Just copy it over. writeUtf8CodePoint(codePoint) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt
rangesBuffer.writeByte(range.b1) rangesBuffer.writeByte('-'.code) rangesBuffer.writeByte('-'.code) } is MappedRange.Inline1 -> { rangesBuffer.writeByte(range.b1) rangesBuffer.writeByte(range.b2) rangesBuffer.writeByte('-'.code) } is MappedRange.Inline2 -> { rangesBuffer.writeByte(range.b1) rangesBuffer.writeByte(range.b2)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.3K bytes - Viewed (0)