private EzyMessage convert(byte[] content) { return(EzyMessageBuilder.newInstance() .setSize(content.Length) .setContent(content) .setHeader(newHeader(content)) .build()); }
public EzyMessage get() { return(EzyMessageBuilder.newInstance() .setHeader(header) .setSize(size) .setContent(content) .build()); }