public static ByteBuffer toBuffer(String spacedHex){
  return ByteBuffer.wrap(toByteArray(spacedHex));
}

public static ByteBuffer toBuffer ( String spacedHex ) { return ByteBuffer . wrap ( toByteArray ( spacedHex ) ) ; }
convert the spaced hex form of a string into a bytebuffer .
