MCPcopy Create free account
hub / github.com/M66B/FairEmail / writeNString

Method writeNString

app/src/main/java/com/sun/mail/iap/Argument.java:113–119  ·  view source on GitHub ↗

Write out given string as an NSTRING, depending on the type of the characters inside the string. The string should contain only ASCII characters. @param s String to write out @return this @since JavaMail 1.5.1

(String s)

Source from the content-addressed store, hash-verified

111 * @since JavaMail 1.5.1
112 */
113 public Argument writeNString(String s) {
114 if (s == null)
115 items.add(new NString(null));
116 else
117 items.add(new NString(ASCIIUtility.getBytes(s)));
118 return this;
119 }
120
121 /**
122 * Convert the given string into bytes in the specified

Callers 1

getArgumentListMethod · 0.95

Calls 4

getBytesMethod · 0.95
writeStringMethod · 0.95
addMethod · 0.45
getBytesMethod · 0.45

Tested by

no test coverage detected