Searched defs:bytes (Results 1 - 25 of 280) sorted by relevance

1234567891011>>

/forgerock/openam-v13/openam-tokens/src/main/java/org/forgerock/openam/tokens/
H A DJsonValueToJsonBytesConverter.java57 public JsonValue convertBack(byte[] bytes) { argument
59 return new JsonValue(mapper.readValue(bytes, Object.class));
H A DSetToJsonBytesConverter.java59 public Set<?> convertBack(byte[] bytes) { argument
61 return mapper.readValue(bytes, MAP_TYPE);
/forgerock/openam/openam-tokens/src/main/java/org/forgerock/openam/tokens/
H A DJsonValueToJsonBytesConverter.java57 public JsonValue convertBack(byte[] bytes) { argument
59 return new JsonValue(mapper.readValue(bytes, Object.class));
H A DSetToJsonBytesConverter.java59 public Set<?> convertBack(byte[] bytes) { argument
61 return mapper.readValue(bytes, MAP_TYPE);
/forgerock/opendj-b2.6/src/server/org/opends/server/replication/service/
H A DReplInputStream.java49 private byte[] bytes; field in class:ReplInputStream
79 * @param len The maximum number of bytes that may be read into the
82 * @return The number of bytes read from the input stream into the provided
97 if (bytes == null)
101 bytes = domain.receiveEntryBytes();
103 if (bytes==null)
109 receivedLength = bytes.length;
116 receivedLength = bytes.length - index;
128 System.arraycopy(bytes, index, b, off, copiedLength);
131 if (index == bytes
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/service/
H A DReplInputStream.java44 private byte[] bytes; field in class:ReplInputStream
74 * @param len The maximum number of bytes that may be read into the
77 * @return The number of bytes read from the input stream into the provided
94 if (bytes == null)
98 bytes = domain.receiveEntryBytes();
100 if (bytes==null)
106 receivedLength = bytes.length;
113 receivedLength = bytes.length - index;
125 System.arraycopy(bytes, index, b, off, copiedLength);
128 if (index == bytes
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/replication/service/
H A DReplInputStream.java49 private byte[] bytes; field in class:ReplInputStream
79 * @param len The maximum number of bytes that may be read into the
82 * @return The number of bytes read from the input stream into the provided
97 if (bytes == null)
101 bytes = domain.receiveEntryBytes();
103 if (bytes==null)
109 receivedLength = bytes.length;
116 receivedLength = bytes.length - index;
128 System.arraycopy(bytes, index, b, off, copiedLength);
131 if (index == bytes
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/replication/service/
H A DReplInputStream.java49 private byte[] bytes; field in class:ReplInputStream
79 * @param len The maximum number of bytes that may be read into the
82 * @return The number of bytes read from the input stream into the provided
97 if (bytes == null)
101 bytes = domain.receiveEntryBytes();
103 if (bytes==null)
109 receivedLength = bytes.length;
116 receivedLength = bytes.length - index;
128 System.arraycopy(bytes, index, b, off, copiedLength);
131 if (index == bytes
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/replication/service/
H A DReplInputStream.java44 private byte[] bytes; field in class:ReplInputStream
74 * @param len The maximum number of bytes that may be read into the
77 * @return The number of bytes read from the input stream into the provided
94 if (bytes == null)
98 bytes = domain.receiveEntryBytes();
100 if (bytes==null)
106 receivedLength = bytes.length;
113 receivedLength = bytes.length - index;
125 System.arraycopy(bytes, index, b, off, copiedLength);
128 if (index == bytes
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/log/handlers/syslog/
H A DSyslogPublisher.java44 * Flush underlying connection. Sends buffered bytes as UDP datagram or as the next message on TCP stream. The real
51 byte[] bytes = logRecord.getBytes(Charset.forName("UTF-8"));
55 sendLogRecord(bytes);
78 * @param bytes The logRecord's byte[] representation.
81 protected abstract void sendLogRecord(byte[] bytes) throws IOException; argument
H A DSyslogTcpPublisher.java88 * @param bytes The log record's byte[] representation.
92 protected void sendLogRecord(byte[] bytes) throws IOException { argument
94 out.write(String.valueOf(bytes.length).getBytes("UTF-8"));
96 out.write(bytes);
H A DSyslogUdpPublisher.java43 protected void sendLogRecord(byte[] bytes) throws IOException { argument
44 DatagramPacket packet = new DatagramPacket(bytes, bytes.length, socketAddress);
/forgerock/openam-v13/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUtils.java78 final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
89 bytes.write(b);
93 return bytes.toByteArray();
112 * @param bytes the binary bytes to be converted to hexadecimal string representation.
113 * @return the string of hexadecimal characters representing the content of the bytes.
115 public static String toHexAndPrintableChars(byte[] bytes) { argument
116 final StringBuilder s = new StringBuilder().append("bytes [ ").append(Utils.toSpacedHex(ByteBuffer.wrap(bytes)))
118 for (int i = 0; i < bytes
[all...]
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DBase64.java40 public static byte[] encodeToByte(byte[] bytes, boolean lineSep) { argument
41 return org.forgerock.util.encode.Base64.encodeToByte(bytes, lineSep);
44 public static char[] encodeToChar(byte[] bytes, boolean lineSep) { argument
45 return org.forgerock.util.encode.Base64.encodeToChar(bytes, lineSep);
48 public static String encode(byte[] bytes, boolean lineSep) { argument
49 return org.forgerock.util.encode.Base64.encode(bytes, lineSep);
52 public static String encode(byte[] bytes) { argument
53 return org.forgerock.util.encode.Base64.encode(bytes);
56 public static byte[] decode(byte[] bytes) { argument
57 return org.forgerock.util.encode.Base64.decode(bytes);
[all...]
/forgerock/jee-agents-v3.5/jee-agents-sdk/src/main/java/com/sun/identity/agents/filter/
H A DOpenSSOHttpServletRequest.java44 private byte[] bytes; field in class:OpenSSOHttpServletRequest
51 return new OpenSSOServletInputStream(new ByteArrayInputStream(bytes));
69 bytes = contents.getBytes();
77 bytes = contents.getBytes();
/forgerock/opendj-v3/opendj-server-legacy/src/main/java/org/opends/server/replication/service/
H A DReplInputStream.java44 private byte[] bytes; field in class:ReplInputStream
74 * @param len The maximum number of bytes that may be read into the
77 * @return The number of bytes read from the input stream into the provided
94 if (bytes == null)
98 bytes = domain.receiveEntryBytes();
100 if (bytes==null)
106 receivedLength = bytes.length;
113 receivedLength = bytes.length - index;
125 System.arraycopy(bytes, index, b, off, copiedLength);
128 if (index == bytes
[all...]
/forgerock/openam/openam-radius/openam-radius-common/src/main/java/org/forgerock/openam/radius/common/
H A DUtils.java78 final ByteArrayOutputStream bytes = new ByteArrayOutputStream();
89 bytes.write(b);
93 return bytes.toByteArray();
112 * @param bytes the binary bytes to be converted to hexadecimal string representation.
113 * @return the string of hexadecimal characters representing the content of the bytes.
115 public static String toHexAndPrintableChars(byte[] bytes) { argument
116 final StringBuilder s = new StringBuilder().append("bytes [ ").append(Utils.toSpacedHex(ByteBuffer.wrap(bytes)))
118 for (int i = 0; i < bytes
[all...]
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DBase64.java40 public static byte[] encodeToByte(byte[] bytes, boolean lineSep) { argument
41 return org.forgerock.util.encode.Base64.encodeToByte(bytes, lineSep);
44 public static char[] encodeToChar(byte[] bytes, boolean lineSep) { argument
45 return org.forgerock.util.encode.Base64.encodeToChar(bytes, lineSep);
48 public static String encode(byte[] bytes, boolean lineSep) { argument
49 return org.forgerock.util.encode.Base64.encode(bytes, lineSep);
52 public static String encode(byte[] bytes) { argument
53 return org.forgerock.util.encode.Base64.encode(bytes);
56 public static byte[] decode(byte[] bytes) { argument
57 return org.forgerock.util.encode.Base64.decode(bytes);
[all...]
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/log/handlers/syslog/
H A DSyslogPublisher.java46 * Flush underlying connection. Sends buffered bytes as UDP datagram or as the next message on TCP stream. The real
56 byte[] bytes = logRecord.getBytes(Charset.forName("UTF-8"));
60 sendLogRecord(bytes);
90 * @param bytes The logRecord's byte[] representation.
93 protected abstract void sendLogRecord(byte[] bytes) throws IOException; argument
H A DSyslogTcpPublisher.java88 * @param bytes The log record's byte[] representation.
92 protected void sendLogRecord(byte[] bytes) throws IOException { argument
94 out.write(String.valueOf(bytes.length).getBytes("UTF-8"));
96 out.write(bytes);
H A DSyslogUdpPublisher.java43 protected void sendLogRecord(byte[] bytes) throws IOException { argument
44 DatagramPacket packet = new DatagramPacket(bytes, bytes.length, socketAddress);
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java72 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
79 public void write(byte[] bytes, int i, int i1) throws IOException { argument
80 buffer.append(bytes, i, i1);
/forgerock/opendj-b2.6/src/server/org/opends/server/types/
H A DRecordingOutputStream.java34 * OutputStream. The recorded bytes will append to any previous
35 * recorded bytes until the clear method is called.
70 public void write(byte[] bytes) throws IOException { argument
73 buffer.append(bytes);
75 parentStream.write(bytes);
82 public void write(byte[] bytes, int i, int i1) throws IOException { argument
85 buffer.append(bytes, i, i1);
87 parentStream.write(bytes, i, i1);
107 * Retrieve the bytes read from this output stream since the last
110 * @return the bytes rea
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java68 /* Clear bytes, equivalent of memset */
69 static private void clearBytes(byte bytes[]) argument
71 for (int i = 0; i < bytes.length; i++)
73 bytes[i] = 0;
111 * 8 bytes will be considered.
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java71 public void write(byte[] bytes) throws IOException { argument
72 buffer.append(bytes);
78 public void write(byte[] bytes, int i, int i1) throws IOException { argument
79 buffer.append(bytes, i, i1);

Completed in 149 milliseconds

1234567891011>>