public Either <RfcErrorInfo, Unit> SetBytes(IDataContainerHandle containerHandle, string name, byte[] buffer, long bufferLength) { Logger.IfSome(l => l.LogTrace("setting byte value by name", new { containerHandle, name })); var rc = NativeApi.SetBytes(containerHandle as Native.IDataContainerHandle, name, buffer, (uint)bufferLength, out var errorInfo); return(ResultOrError(Unit.Default, rc, errorInfo)); }