oops, forgot to add this
This commit is contained in:
parent
4506d8d735
commit
a7a4e0c79b
1 changed files with 11 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
package org.capnproto;
|
||||
|
||||
public final class GeneratedClassSupport {
|
||||
public static byte[] decodeRawBytes(String s) {
|
||||
try {
|
||||
return s.getBytes("ISO_8859-1");
|
||||
} catch (Exception e) {
|
||||
throw new Error("could not decode raw bytes from String");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue